{% extends "base_sondage.html" %}
{% load i18n %}	
	
	{% block header %}
		<script type="text/javascript" src="{{STATIC_URL}}javascript/jquery.js"></script>
		<script type="text/javascript" src="{{STATIC_URL}}javascript/jquery.validate.min.js"></script>
        <script type="text/javascript">
		    var lang = '{{ request.LANGUAGE_CODE }}'
		</script>
		<script type="text/javascript" src="{{STATIC_URL}}javascript/messages_{{request.LANGUAGE_CODE}}.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$("#organisation_form").validate({
			rules: {
				nom_orga: "required",
				prenom_orga: "required",
				email_orga: {
					required: true,
					email: true
				},				
			}
		});
	});
		</script>

	{% endblock %}



	{% block titre %}{% trans "Organiser un sondage" %}{% endblock %}
		
	{% block menu %}	
		<ul id="navigation">
		  <li> <img src="{{STATIC_URL}}images/21.png" alt=""/>{% trans "Civilité" %}</li>
		  <li> <img src="{{STATIC_URL}}images/27.png" alt=""/>{% trans "Invités" %}</li>
		  <li> <img src="{{STATIC_URL}}images/32.png" alt=""/>{% trans "Questions" %}</li>
		  <li> <img src="{{STATIC_URL}}images/29.png" alt=""/>{% trans "Réponse" %}</li>
		  <li> <img src="{{STATIC_URL}}images/30.png" alt=""/>{% trans "Résultat" %}</li>
		</ul>
	{% endblock %}

	{% block content %}
		<form id="organisation_form" action="" method="POST">
            {% csrf_token %}
            {% trans "Votre nom" %} : {{ form1.nom_orga }}
			<br/><br/>
			{% trans "Votre prénom" %} : {{ form1.prenom_orga }}
			<br/><br/>
			{% trans "Adresse e-mail" %} : {{ form1.email_orga }}
			<br/><br/>
            <caption ALIGN=bottom><input type=submit class=submit value=Valider }}></caption>
        </form>
    {% endblock %}


